package org.parademo.model;

/**
 * @author Ajit Skanda
 * @version 1.0
 */
public class TokenCreditEntity extends Entity {

    private Category category;
    private long tokenCredit;

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category pCategory) {
	    Category oldCat = category;
        category = pCategory;
		pcs.firePropertyChange("category", oldCat, pCategory);
    }

    public long getTokenCredit() {
        return tokenCredit;
    }

    public void setTokenCredit(long pTokenCredit) {
	    Long oldTokenCredit = tokenCredit;
        tokenCredit = pTokenCredit;
	    pcs.firePropertyChange("tokenCredit", oldTokenCredit, pTokenCredit);
    }
}
